package com.endurance.entity;

import java.util.Date;

/**
 * @ProjectName: spring-cloud-hoxton-parent
 * @Package: com.endurance.entity
 * @ClassName: Dept
 * @Description:
 * @Author: sunlin
 * @CreateDate: 2024/02/06 16:22
 * @Version: 1.0
 */
public class Dept {

    private Integer id;

    private String name;

    private Date createDate;

    public Dept() {

    }

    public Dept(Integer id, String name, Date createDate) {
        this.id = id;
        this.name = name;
        this.createDate = createDate;
    }


    @Override
    public String toString() {
        return "Dept{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createDate=" + createDate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
